H8/300 Options

Contents|Index|Previous|Next
Hitachi H8/300 options

The following -m options are defined for the H8/300 family of processors’ implementations.

-mrelax

Shorten some address references at link time, when possible; this option uses the linker option, -relax. See `ld` and the H8/300 processors in Using `ld` within GNUPro Utilities for a fuller description.

-ms

Generate code for the H8/S.

-mh

Generate code for the H8/300H.

-mint32

Make int data 32 bits by default.

-malign-300

On the H8/300H, use the same alignment rules as for the H8/300. The default for the H8/300H is to align longs and floats on 4 byte boundaries.
-malign-300 causes them to be aligned on 2 byte boundaries. This option has no effect on the H8/300.